
<div class="center">
    <div class="ordercenter">
        <div class="tablebox">
            <table class="table table-striped">
                <thead>
                <tr style="font-size:1px">
                    <th>商超名称</th>
                    <th>商超地址</th>
                    <th>商超管理员</th>
                    <th>商超联系电话</th>
                    <th>上线时间</th>
                    <th>下线时间</th>
                    <th>操作</th>
                </tr>
                </thead>
                <trbody>
                    <tr dir-paginate="market in markets | filter:q | itemsPerPage: pageSize" current-page="currentPage">
                        <td><span>{{market.mName}}</span></td>
                        <td><span>{{market.mAddr}}</span></td>
                        <td><span>{{market.mManager}}</span></td>
                        <td><span>{{market.mManagertel}}</span></td>
                        <td><span>{{market.mOnlinetime | date:'yyyy-MM-dd HH:mm:ss' }}</span></td>
                        <td><span>{{market.mOfflinetime | date:'yyyy-MM-dd HH:mm:ss'}}</span></td>
                        <td><a ui-sref="home.first.marketdetail({id:market.mId})">查看详情</a></td>
                    </tr>
                </trbody>
            </table>

            <div >
                <div class="text-center">
                    <dir-pagination-controls boundary-links="true" on-page-change="pageChangeHandler(newPageNumber)" template-url="view/pagination/dirPagination.tpl.html"></dir-pagination-controls>
                    <div class="pagination">
                        <li ng-class="{ disabled : pagination.current == 1 }">
                            <div >
                                <select  ng-model="pageSize" style="height: 40px;color: #428bca;font-size: 15px;">
                                    <option ng-selected="true" value="5">
                                        -- 每页个数 --
                                    </option>
                                    <option value="10">
                                        10
                                    </option>
                                    <option value="15">
                                        15
                                    </option>
                                    <option value="20">
                                        20
                                    </option>
                                    <option value="25">
                                        25
                                    </option>
                                </select>
                            </div>

                        </li>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>